/*
 * @(#)ListPersonalHomeForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.framework.web;

import com.dcivision.alert.bean.UpdateAlertLogAction;
import com.dcivision.framework.GlobalConstant;

/**
  ListPersonalHomeForm.java

  The ActionForm for ListSysUserDefinedIndex

    @author          Zoe Shum
    @company         DCIVision Limited
    @creation date   31/10/2003
    @version         $Revision: 1.16.2.1 $
*/
public class ListPersonalHomeForm extends AbstractSearchForm {

  public static final String REVISION = "$Revision: 1.16.2.1 $";

  private String sCurrListType = null;

  /** Holds value of property to display the System Logs.  */
  private boolean bAccessSystemLogs = true;
  private boolean bAccessCalendar = true;
  private String sSystemLogsCurStartRowNo = "1";
  private String sDisableActionType = UpdateAlertLogAction.READ_ACTION; //Action type which wont show in system log list
  private String sSpecifyActionType = null;//For Ajax Show 
  private Integer actionSystemLogID = null;

  /** Holds value of property to display the Recently Access .  */
  private boolean bAccessRecentlyAccessList = true;
  private String sRecentlyAccessCurStartRowNo = "1";
  private String parentID = null;
  private String rootID = null;
  private String documentID = null;
  private String curFunctionCode = null;

  /** Holds value of property to display the Workflow task list . */
  private boolean bAccessWorkflowTaskList = true;
  private String sWorkflowTaskCurStartRowNo = "1";
  private String showFullList = GlobalConstant.FALSE;

  /** Holds value of property to display the Workflow tracking list.*/
  private boolean bAccessWorkflowTrackingList = true;
  private String sWorkflowTrackingCurStartRowNo = "1";
  
  /** Holds value of style of view channels eg:CM_Y_5|SL_Y_10|RD_Y_4|PW_Y_10|WT_N_5*/
  /** Holds value of disable view channels. */
  //public static final String SYSTEMPREFERENCESTR = "CT_Y_5_1|CE_Y_5_2|TS_Y_5_3|CM_Y_5_4|SL_Y_5_5|RD_Y_5_6|PW_Y_5_7|WT_Y_5_8";
  private String disableViewChannels = null;//eg:WT_N_5
  private String ableViewChannels = null;//eg:CM_Y_5
  private String filter = null;
  private String delegateUserRecordID = null;
  private boolean includeDelegateReocrd = false;
  private boolean ignoreDeleteShortcut = false;
  
  public boolean isIgnoreDeleteShortcut() {
    return ignoreDeleteShortcut;
  }

  public void setIgnoreDeleteShortcut(boolean ignoreDeleteShortcut) {
    this.ignoreDeleteShortcut = ignoreDeleteShortcut;
  }

  public ListPersonalHomeForm() {
    super();
    this.setSortAttribute("UPDATE_DATE");
    this.setSortOrder("DESC");
  }

  public void setAccessSystemLogs(boolean bAccessSystemLogs) {
    this.bAccessSystemLogs = bAccessSystemLogs;
  }

  public boolean getAccessSystemLogs() {
    return bAccessSystemLogs;
  }

  public void setbAccessCalendar(boolean bAccessCalendar) {
    this.bAccessCalendar = bAccessCalendar ;
  }

  public boolean getbAccessCalendar() {
    return this.bAccessCalendar ;
  }

  public void setCurrListType (String sCurrListType){
    this.sCurrListType = sCurrListType;
  }

  public String getCurrListType() {
    return sCurrListType;
  }

  public void setSystemLogsCurStartRowNo(String nSystemLogsCurStartRowNo){
    this.sSystemLogsCurStartRowNo = nSystemLogsCurStartRowNo;
  }

  public String getSystemLogsCurStartRowNo() {
    return this.sSystemLogsCurStartRowNo;
  }

  public void setAccessRecentlyAccessList(boolean accessRecentlyAccessList){
    this.bAccessRecentlyAccessList = accessRecentlyAccessList;
  }

  public boolean getAccessRecentlyAccessList() {
    return bAccessRecentlyAccessList;
  }

  public void setAccessWorkflowTaskList(boolean accessWorkflowTaskList){
    this.bAccessWorkflowTaskList = accessWorkflowTaskList;
  }

  public boolean getAccessWorkflowTaskList() {
    return bAccessWorkflowTaskList;
  }

  public void setAccessWorkflowTrackingList(boolean accessWorkflowTrackingList){
    this.bAccessWorkflowTrackingList = accessWorkflowTrackingList;
  }

  public boolean getAccessWorkflowTrackingList() {
    return bAccessWorkflowTrackingList;
  }

  public void setRecentlyAccessCurStartRowNo(String recentlyAccessCurStartRowNo){
    this.sRecentlyAccessCurStartRowNo = recentlyAccessCurStartRowNo;
  }

  public String getRecentlyAccessCurStartRowNo() {
    return this.sRecentlyAccessCurStartRowNo;
  }

  public void setWorkflowTaskCurStartRowNo(String workflowTaskCurStartRowNo){
    this.sWorkflowTaskCurStartRowNo = workflowTaskCurStartRowNo;
  }

  public String getWorkflowTaskCurStartRowNo() {
    return this.sWorkflowTaskCurStartRowNo;
  }

  public void setWorkflowTrackingCurStartRowNo(String workflowTrackingCurStartRowNo){
      this.sWorkflowTrackingCurStartRowNo = workflowTrackingCurStartRowNo;
    }

  public String getWorkflowTrackingCurStartRowNo() {
    return this.sWorkflowTrackingCurStartRowNo;
  }

  public String getParentID() {
   return(this.parentID);
  }

  public void setParentID(String parentID) {
    this.parentID = parentID;
  }

  public String getRootID() {
    return(this.rootID);
  }

  public void setRootID(String rootID) {
    this.rootID = rootID;
  }

  public String getDocumentID() {
    return(this.documentID);
  }

  public void setDocumentID(String documentID) {
    this.documentID = documentID;
  }

  public void setCurFunctionCode(String curFunctionCode) {
    this.curFunctionCode = curFunctionCode;
  }

  public String getCurFunctionCode() {
    return curFunctionCode;
  }

  public void setDisableActionType(String disableActionType) {
    this.sDisableActionType = disableActionType;
  }

  public String getDisableActionType() {
    return this.sDisableActionType;
  }

  public void setActionSystemLogID(Integer actionSystemLogID){
    this.actionSystemLogID = actionSystemLogID;
  }

  public Integer getActionSystemLogID() {
    return this.actionSystemLogID;
  }

  public String getShowFullList() {
    return (this.showFullList);
  }

  public void setShowFullList(String showFullList) {
    this.showFullList = showFullList;
  }
  
  public String getDisableViewChannels(){
  	return this.disableViewChannels;
  }
  
  public void setDisableViewChannels(String disableViewChannels){
  	this.disableViewChannels = disableViewChannels;
  }

  public String getAbleViewChannels() {
    return ableViewChannels;
  }

  public void setAbleViewChannels(String ableViewChannels) {
    this.ableViewChannels = ableViewChannels;
  }

  public String getFilter() {
    return filter;
  }

  public void setFilters(String filter) {
    this.filter = filter;
  }

  public String getSpecifyActionType() {
    return sSpecifyActionType;
  }

  public void setSpecifyActionType(String specifyActionType) {
    sSpecifyActionType = specifyActionType;
  }

  public String getDelegateUserRecordID() {
    return delegateUserRecordID;
  }

  public void setDelegateUserRecordID(String delegateUserRecordID) {
    this.delegateUserRecordID = delegateUserRecordID;
  }

  public boolean isIncludeDelegateReocrd() {
    return includeDelegateReocrd;
  }

  public void setIncludeDelegateReocrd(boolean includeDelegateReocrd) {
    this.includeDelegateReocrd = includeDelegateReocrd;
  }
}
